Discover vertical name tag template, include the articles, news, trends, analysis and practical advice about vertical name tag template on alibabacloud.com
following figure:
...
TagFlagStr = ". Ssp"
TagFlagCnt = "-4"
...
TagFlagStr indicates that the tag template source file can be preprocessed, for example, myPage. Ssp. This extension triggers tag processing. The tagFlagCnt attribute defines the number of characters ending with the file name, including ". "(XxxYyy. Ss
Phpcmsv9 template tag tips, common methods of tag phpcmsv9 template production common code set 1. the length of the call title {str_cut ($ r [title], 36, '')} is intercepted, and the quotation marks are used to remove .... 2. #26684; normalization time call #26684; normalization Time 2011-05-0611: 22: phpcms v9
When the controller passes the control to TagActionDispatcher, some initialization triggers to set the ActionObjects and ViewResourcesConfig attributes to apply our template:
Obtain the $ form, $ errors, and $ data objects from the request. if any of these objects has been created before (for example, in the Action class ), the object will not be visible in the resource template. Otherwise, the object wil
support vertical centering of picture settings.Two, the vertical center of multiple lines of unknown height textIf a piece of content, its height is variable, then we can use the previous section of the implementation of the horizontal center used to the last method, is to set the padding, the upper and lower padding values are the same. Similarly, this is a "look" of the
before (for example, in the Action class ), the object will not be visible in the resource template. Otherwise, the object will be set to NULL.
Obtain the reference of the ViewResourcesConfig object again. It contains the configuration parameters.
Set the path to the template source file and the compiled template file in the ViewResourcesConfig parameter.
2. Set
support vertical centering of picture settings.Two, the vertical center of multiple lines of unknown height textIf a piece of content, its height is variable, then we can use the previous section of the implementation of the horizontal center used to the last method, is to set the padding, the upper and lower padding values are the same. Similarly, this is a "look" of the
, and $data objects from the request, if any of these objects have been created before (for example, in the Action Class), the object will now be invisible in the resource template, or the object will be set to null.
Re-obtain the reference for the Viewresourcesconfig object, which contains the configuration parameters.
Sets the path to the template source file and the compiled
" dbsource = "dedecmsdb" num = "7" return = "data "}{Loop $ data $ R}{/Loop}{/PC}7. Call subtopics (required in the topic homepage template)
{PC: Content action = "category" catid = "$ catid" num = "25" siteid = "$ siteid" Order = "listorder ASC "}{Loop $ data $ R}{/Loop}{/PC}8. display the topic name with the specified ID (catid = 22 in this example)
{$ Categorys [22] ['catname']}9. display the article cat
Zhimeng template engine can not only parse templates, but also analyze error tags in templates.
1. the code style of the Zhimeng template engine is as follows:
{Dede: Tag name attribute = 'value '/}
{Dede: Tag name attribute = 'v
The global tag text tutorial used in the dedecms template. if this official template is too abstract, refer:
Parsing engine overview template design specification code reference
Reference: arclist (artlist, likeart, hotart, imglist, imginfolist, coolart, specart) field channel mytag vote friendlink myne
If the official template is too abstract, refer:Parsing engine overview template design specification code referenceReference: arclist (artlist, likeart, hotart, imglist, imginfolist, coolart, specart) field channel mytag vote friendlink mynews loop channelartlist page list pagelist pagebreak fieldlist--------------------------------------------------------------------------------1. Introduction to zhimeng
= ". ssp"
TagFlagCnt = "-4"
...
TagFlagStr indicates that the tag template source file can be preprocessed, for example, myPage. ssp. this extension triggers tag processing. the tagFlagCnt attribute defines the number of characters ending with the file name, including ". "(xxxYyy. ssp ). for example,-4 repre
$ data objects from the request. If any of these objects has been created before (for example, in the Action class ), the object will not be visible in the resource template. Otherwise, the object will be set to NULL.Obtain the reference of the ViewResourcesConfig object again. It contains the configuration parameters.Set the path to the template source file and the compiled
Description of the Weaver dream template tag. Before learning about the template code of DedeCms, it is very meaningful to know about the Zhimeng template engine. The Zhimeng template engine is a template parser that uses the XML
Before you know the template code for DEDECMS, it makes sense to know the knowledge of the dream templating engine. Weaving dream template engine is a template parser using XML namespace form, the biggest advantage of using the Dream Parser parsing template is that it can easily make the attributes of the
Dedecms template tag code official reference. I didn't expect dedecms to be able to do DIY like this. Niu Ah address: www. dedecms. comarchivestemplethelphelp. before learning about the DedeCms template code, I learned about the Zhimeng template engine.
Address: http://www.dedecms.com/archives/templethelp/help/
Before
I didn't think Dedecms could do this DIY, ox.
Address: http://www.dedecms.com/archives/templethelp/help/
Before you know the template code for DEDECMS, it makes sense to know the knowledge of the dream templating engine. Weaving dream template engine is a template parser using XML namespace form, the biggest advantage of using the Dream Parser parsing
I didn't think Dedecms could do this DIY, ox.
Address: http://www.dedecms.com/archives/templethelp/help/
Before you know Dedecms's template code, it makes sense to understand the knowledge of a dream template engine. Dream-Weaving template engine is a template parser using the XML namespace form, the biggest benefit o
Phpcmsv9 is a common method of tag. Phpcmsv9 template to create a set of common code 1. the length of the call title {str_cut ($ r [title], 36,)} is intercepted, and the quotation marks are used to remove .... 2. formatting time call formatting Time 2011-05-061 phpcms v9 template creation common code set
1. extract the Call Title length
{Str_cut ($ r [titl
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.